import { Platform, StyleSheet, Dimensions } from 'react-native';

var windowWidth = Dimensions.get('window').width;
var windowHeight = Dimensions.get('window').height;

const styles = StyleSheet.create({
    wrapper:{
        ...Platform.select({
			ios: {
				height: windowHeight - 43 - 64,
			},
            android: {
                flex: 1,
                marginBottom: 44,
            }
		})
    },
	container: {
		flex: 1,
        paddingTop: 0,
		backgroundColor: '#f3f3f3',
        ...Platform.select({
            android: {
                // flex: 1,
                marginBottom: 55,
            }
		})
	},
    headImage:{
        width: 40,
        height: 40,
        borderRadius: 4,
		...Platform.select({
			android: {
				borderRadius: 4,
			}
		}),
		overflow: 'hidden',
    },
    headImageBigContainer:{
        width: 48,
        height: 48,
		// borderRadius: 4,
        paddingTop: 4,
        overflow: 'visible',
    },
    headImageContainer:{
        width: 40,
        height: 40,
		borderRadius: 4,
        justifyContent: 'center',
        overflow: 'visible',
    },

    headUnreadTip:{
        width: 10,
        height: 10,
        borderRadius: 10,
        backgroundColor: '#EA5404',
        position: 'absolute',
        right: 3,
        top: 0,
        zIndex: 2,
    },
    noDataContent:{
		alignItems:'center',
		marginTop:  (windowHeight - 64 - 50 - 300) / 2,
	},
    searchContainer:{
        backgroundColor: '#EA5404',
        flexDirection: 'row',
        alignItems:'center',
        height: 50,
        paddingLeft: 15,
    },
    searchInputContainer:{
        backgroundColor: '#fff',
        paddingLeft: 10,
        flex: 1,
        alignItems:'center',
        flexDirection: 'row',
        height: 30,
        borderRadius: 2,
        overflow: 'hidden',
    },
    textInput:{
        flex: 1,
        paddingTop: 0,
        paddingBottom:0,
        textAlignVertical: 'center',
        // alignItems:'center',
    },
    addressBtnText:{
        color: '#fff',
        marginLeft: 15,
        marginRight: 15
    }

});

export default styles;
